<?php defined('IN_CMS') or exit('No permission resources.'); ?><!--header str-->
<?php include template("common","header"); ?>
<!--header end-->
<!--wrap_activity str-->
<div class="wrap" id="wrap">
	<table>
		<tr>
			<td class="item_table_left">
				<br/><br/>
				<?php include template("common","left_menu"); ?>
			</td>
			<td class="item_table_right">
				<div class="wrap_main">
					<div class="bullet more_height">
						<div class="bullet_title"><label class="user_detail_title heiti">个人信息</label></div>
						<div class="bullet_menu more_bottom">
							<label class="user_detail_menu">&lt;&lt;修改资料</label>
						</div>
					</div>
					<hr>
					<div class="content_title"><?php echo $info['title'];?></div>
					<div class="content">
						<form action="/index.php?m=hchmember&c=detail&a=userinfo" method="post"  enctype="multipart/form-data">
							<table>
								<tr>
									<td>&nbsp;</td>
									<td>我的名片</td>
								</tr>
								<tr>
									<td><label class="reqired">*</label></td>
									<td><input placeholder="姓名" type="text" value="<?php echo $userinfo['nickname'];?>" name="item[nickname]" id="nickname" required="required"></td>
									<td>&nbsp;</td>
									<td>
										<input type="radio" value="1" name="detail[sex]" id="sex" <?php if($detail['sex']==1) { ?> checked="checked" <?php } ?>>男
										<input type="radio" value="2" name="detail[sex]" id="sex" <?php if($detail['sex']==2) { ?> checked="checked" <?php } ?>>女
									</td>
									<td rowspan="5">
                                       <?php if($userinfo[avatar]) { ?>
                                            <img style="height:100px;width:auto;" src="<?php echo $userinfo['avatar'];?>">
                                        <?php } else { ?>
                                            <img style="height:100px;width:auto;" src="http://demo.zetadata.com.cn:8001/statics/images/member/nophoto.gif">
                                        <?php } ?>
                                        <input type="file" name="avatar">
									</td>
								</tr>
								<tr>
									<td><label class="reqired">*</label></td>
									<td>
										<select>
											<option>最高学历</option>
											<option>博士及以上</option>
											<option>研究生</option>
											<option>大学</option>
											<option>高中及以下</option>
										</select>
									</td>
									<td><label class="reqired">*</label></td>
									<td colspan="3">
										<select>
											<option>工作经验</option>
										</select>
									</td>
								</tr>
								<tr>
									<td><label class="reqired">*</label></td>
									<td colspan="3"><input placeholder="手机号码" type="text" value="<?php echo $userinfo['mobile'];?>" name="item[mobile]" id="mobile"></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td colspan="3"><input placeholder="邮箱地址" type="text" value="<?php echo $userinfo['email'];?>" name="item[email]" id="email"></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td colspan="3">
										是否会员
										<input type="radio" value="1" >是
										<input type="radio" value="2" >否
										<a href="#">会员认证</a>
									</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td colspan="3"><input placeholder="会员号：1234567890" type="text" value="会员号：1234567890" readonly="readonly"></td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td colspan="3">
										<input type="submit" name="dosubmit" class="submit" value="保存" width="200" height="30"/>
										<a href="#">修改</a>
										<input type="hidden" name="m" value="hchmember">
										<input type="hidden" name="c" value="detail">
										<input type="hidden" name="a" value="userinfo">
									</td>
								</tr>
							</table>
							</form>
							<form action="/index.php?m=hchmember&c=detail&a=userinfo" method="post"  enctype="multipart/form-data">
							<table>
								<tr>
									<td>&nbsp;</td>
									<td>工作经验</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td>
										<input placeholder="公司名称" type="text" value="<?php echo $detail['company'];?>" name="detail[company]" id="company">
										<input placeholder="职位名称" type="text" value="<?php echo $detail['company'];?>" name="detail[company]" id="company">
									</td>
									<td>+</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td colspan="3">
										<select>
											<option>开始年份</option>
											<option>2015</option>
											<option>2014</option>
											<option>2013</option>
											<option>2012</option>
										</select>
										<select>
											<option>开始月份</option>
											<option>1</option>
											<option>2</option>
											<option>3</option>
											<option>4</option>
										</select>
										&nbsp;&nbsp;&nbsp;&nbsp;
										<select>
											<option>结束年份</option>
											<option>2015</option>
											<option>2014</option>
											<option>2013</option>
											<option>2012</option>
										</select>
										<select>
											<option>结束月份</option>
											<option>1</option>
											<option>2</option>
											<option>3</option>
											<option>4</option>
										</select>
									</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td colspan="3">
										<textarea placeholder="具体工作内容" rows="" cols=""></textarea>
									</td>
								</tr>
								<tr>
									<td>&nbsp;</td>
									<td>										
										<input type="submit" name="dosubmit" class="submit" value="保存" width="200" height="30"/>
										<a href="#">修改</a>
										<input type="hidden" name="m" value="hchmember">
										<input type="hidden" name="c" value="detail">
										<input type="hidden" name="a" value="userinfo">
									</td>
								</tr>
							</table>
						</form>
						<br style="clear: both;">
					</div>
				</div>
			</td>
		</tr>
	</table>


	
</div>
<!--wrap end-->
<!--footer str-->
<?php include template("common","footer"); ?>
<!--footer end-->
<script type="text/javascript">  
  if( !('placeholder' in document.createElement('input')) ){  
   
    $('input[placeholder],textarea[placeholder]').each(function(){   
      var that = $(this),   
      text= that.attr('placeholder');   
      if(that.val()===""){   
        that.val(text).addClass('placeholder');   
      }   
      that.focus(function(){   
        if(that.val()===text){   
          that.val("").removeClass('placeholder');   
        }   
      })   
      .blur(function(){   
        if(that.val()===""){   
          that.val(text).addClass('placeholder');   
        }   
      })   
      .closest('form').submit(function(){   
        if(that.val() === text){   
          that.val('');   
        }   
      });   
    });   
  }  
</script>
</body>
</html>